home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / info-service / gopher / PC_server / ka9q / ReadMe < prev    next >
Encoding:
Text File  |  1993-04-09  |  24.3 KB  |  631 lines

  1. -------------------------------------------------------------------
  2. NOTE:  This software is free for University or non-commercial use.
  3.        If you wish to use this for commercial purposes or wish to
  4.        distribute modified versions of this software, please contact
  5.        Phil Karn    <karn@chicago.Qualcomm.COM>
  6.        Copyright (c) 1991 Phil Karn, KA9Q
  7. -------------------------------------------------------------------
  8.  
  9. This file is a short introduction to setting up and using Ka9Q NOS
  10. (CWRU/BIOC v1.92 - axa12) as a Mail(POP2/POP3/SMTP)and Gopher server
  11. on a PC.  Also included are sample configuration files for my
  12. installation of NOS.
  13.  
  14. The accompanying file (NOS192.ZIP) has been compressed with
  15. PKZIP 2.04g
  16. ------------------------------------------------------------------
  17. Release notes CWRU/BIOC NOS:
  18.  
  19. The version of NOS used is (CWRU/BIOC v1.92 - axa12).
  20. This version was compiled with the following things in mind.
  21.  
  22. v1.92 (April, 1993)
  23. After much trial and error, I finally got the POP2 server working
  24. with the University of Minnesota POPmail/PC and POPMail/Mac
  25. clients.  For this I thank Chris McNeil (cmcneil@mta.ca) for his
  26. help, and also Kai Getrost (kai@pyrite.som.cwru.edu) for sending me
  27. his modified FINGERD.C for G1EMM NOS that gave me a couple ideas.
  28.  
  29. v1.91 (March, 1993)
  30. Chris McNeil's Gopher server for Ka9Q added.  A *big* thank-you to
  31. Farhad Anklesaria (fxa@boombox.micro.umn.edu) for helping me get
  32. in touch with Chris, and also to Chris McNeil for very graciously
  33. providing the code and helping to get it compiled okay.  Without
  34. his help and assistance, this version would not be possible.
  35.  
  36. v1.86
  37. BOOTP fixed as described by Steven Johnson to correctly recognize
  38. a 32-bit IP address.
  39.  
  40. v1.85
  41. BOOTP and BOOTPD support added.  BOOTP is not supported in Pa0GRI
  42. 2.0m and N1BEE 921225v0.85s-beta distribution releases.
  43.  
  44. v1.8
  45. a) Optimized for POP3/SMTP function.  During compiling extraneous
  46. servers like ax25, pop2, nntp etc. were left undefined.
  47. b) Support for only the packet driver interface.  Other interfaces
  48. such as ASY, KISS, PI, EAGLE, SCC etc. were also left undefined.
  49. c) The base code for this version is from N1BEE v0.85s-beta, which
  50. has a fully functional POP3 server, unlike other versions of NOS
  51. such as WG7J 1.07b where POP3 function is broken.
  52. d) The code for the SMTP server is from WG7J 1.07b since that
  53. version includes the "smtp t4" command, which is very useful (see
  54. later)
  55. e) The SMTPSERV.C has been modified as described by Jacob DeGlopper
  56. (jrd5@po.cwru.edu) to bounce incoming mail that is directed at
  57. non-existent users.  Previous versions of Ka9Q do not have this
  58. feature.
  59. f) This version was compiled for 286 and higher computers.
  60. g) We find that it is very stable as a mail-server
  61. h) This version (and configuration files provided below) are to be
  62. used with POP3 clients such as POPmail/PC and POPmail/Mac.  It is
  63. *not* expected that any users will want to actually telnet into the
  64. NOS mailbox and check their mail.
  65. -------------------------------------------------------------------
  66. Manual for CWRU/BIOC NOS:
  67.  
  68. The manual for this version of NOS is NOS_1229.MAN (for Pa0GRI 2.0m)
  69. since N1BEE v0.85s-beta is based on Pa0GRI 2.0m (Pa0GRI 920730)
  70.  
  71. In addition, users may wish to use The NOSView online documentation
  72. system.
  73.  
  74. These installation instructions in this file attempt to be as complete
  75. as possible for a quick installation of CWRU/BIOC NOS.
  76.  
  77. NOTE:  The configuration files provided with in this document are
  78. EXAMPLES.  You *must* modify them for NOS to work at your site.
  79. -------------------------------------------------------------------
  80. This file includes the following sections:
  81.  
  82. Hardware                 - the computer, number of users etc.
  83. NOS Directory Structure  - the directories to create
  84. NOS.BAT                  - the batch file to invoke NOS with
  85. AUTOEXEC.NOS file        - the basic configuration file
  86. POPUSERS file            - the POP2/POP3 passwords file
  87. FTPUSERS file            - the FTP/TELNET passwords file
  88. ALIAS                    - mail aliases and NOS
  89. CONFIG.KBD               - configure the keyboard for NOS
  90. GOPHER                   - configuring the Gopher server
  91. -------------------------------------------------------------------
  92. The Computer:
  93.  
  94. I am using NOS on a FastData 386-40 computer with 4 megs of RAM and
  95. 175 meg HD.  The computer is being used as a mail server
  96. (POP2/POP3/SMTP), Gopher, and FTP server.  I estimate that this
  97. computer can very easily support about 100 users receiving mail.
  98.  
  99. This version of NOS needs atleast a 286 to run on.  Based on my
  100. experience, I would recommend that the minimum system be a 386SX
  101. with 2 megs of RAM.  NOS performance dramatically improves with the
  102. use of a DISK CACHE - such as SMARTDrive 4.0 from Windows 3.1.
  103. I would recommend using a 512K - 1024K disk-cache
  104.  
  105. NOS has been installed on this computer such that users can use PC
  106. and Macintosh POP2/3 clients (POPmail/PC and POPmail/Mac).  These
  107. programs have been developed at the University of Minnesota and can
  108. be obtained via anonymous FTP to boombox.micro.umn.edu
  109.  
  110. The Univ. of Minn. PC and Macintosh Gopher clients can also be obtained 
  111. from that site.
  112. -------------------------------------------------------------------------
  113. NOS directory structure:
  114.  
  115. Create the following directories:
  116.  
  117. \NOS - the AUTOEXEC.NOS, ALIAS, POPUSERS, FTPUSERS, and
  118.            CONFIG.KBD files reside here.
  119. \NOS\SPOOL
  120. \NOS\SPOOL\HELP - the help files go here (if desired)
  121. \NOS\SPOOL\MAIL - mail messages go here
  122. \NOS\SPOOL\MQUEUE - outgoing mail work files
  123. \NOS\SPOOL\RQUEUE - isn't used
  124. \NOS\SPOOL\TEMP - temporary files get created here
  125. \NOS\FINGER - if desired, the users finger files can go here
  126. \NOS\SPOOL\rewrite - outgoing mail addresses get re-written based on
  127.                      the rules in this file (this is not a directory!)
  128. \PUBLIC - files available for anonymous FTP go in this directory and
  129.           subdirectories under it.
  130. \GOPHER - files for the Gopher server go in this directory and it's
  131.           subdirectories
  132. -------------------------------------------------------------------------
  133. NOS.BAT file:
  134.  
  135. @echo off
  136. SET TZ=EST
  137. SET TMP=C:\NOS\SPOOL\TEMP
  138. cd\nos
  139. nos -d/nos -s50 autoexec.nos
  140. cd\
  141. c:\nos.bat
  142.  
  143. This file essentially runs NOS in a loop.  NOS.BAT is run from
  144. AUTOEXEC.BAT
  145. -------------------------------------------------------------------------
  146. AUTOEXEC.NOS
  147.  
  148. You can use the "#" to comment a line in any configuration file that
  149. is used by NOS.  AUTOEXEC.NOS is broken into two sections below.
  150. Section 1a - network node configuration using BOOTP
  151. Section 1b - network node configuration without BOOTP
  152. Section 2 - the rest of AUTOEXEC.NOS independent of configuration method
  153. -------------------------------------------------------------------------
  154. Section 1a) -- Configuring NOS using BOOTP
  155.  
  156. # AUTOEXEC.NOS for (CWRU/BIOC v1.92 - axa12) NOS
  157. # configured by Ashok Aiyar.
  158. #
  159. attach packet 0x60 pk0 5 1500  # packet driver at 0x60, 5 buffers, MTU=1500)
  160. ifconfig pk0 broadcast 255.255.255.255
  161. bootp pk0
  162. host name biochemistry.cwru.edu
  163. domain suffix cwru.edu.
  164. domain verbose on
  165. domain translate off     # don't turn name translation on
  166. domain cache size 20
  167. domain cache wait 300
  168. domain retry 1
  169. domain maxwait 90
  170. #
  171.  
  172. Notes:
  173. a) For bootp to work, you must initially set a broadcast address of
  174.    255.255.255.255 -- the correct value is received from the BOOTP
  175.    server.
  176. b) I have to specify a full hostname as the name received from our
  177.    BOOTP server is just "biochemistry".  Several others have also
  178.    reported a problem with the node-name received during BOOTP, and
  179.    I am working on a fix.  Also a domain suffix is not provided by
  180.    the BOOTP server, and hence is entered here.
  181. -------------------------------------------------------------------------
  182. Section 1b) -- Configuring NOS without using BOOTP
  183.  
  184. # AUTOEXEC.NOS for (CWRU/BIOC v1.92 - axa12) NOS
  185. # configured by Ashok Aiyar.
  186. #
  187. # basic host configuration
  188. hostname biochemistry.cwru.edu
  189. ip address 129.22.152.44
  190. domain suffix cwru.edu.
  191. #
  192. # domain nameserver (DNS) configuration
  193. domain addserver 129.22.4.1   # secondary nameserver
  194. domain addserver 129.22.4.3   # primary nameserver
  195. domain verbose on
  196. domain translate off     # don't turn name translation on
  197. domain cache size 20
  198. domain cache wait 300
  199. domain retry 1
  200. domain maxwait 90
  201. #
  202. # host interface configuration - Cabletron card with packet driver
  203. attach packet 0x60 pk0 5 1500  # packet driver at 0x60, 5 buffers, MTU=1500
  204. ifconfig pk0 ipaddr 129.22.152.44 netmask 255.255.0.0 broadcast 129.22.255.255
  205. route add default pk0 129.22.1.1
  206. route add 129.22.0.0/16 pk0
  207. #
  208. -------------------------------------------------------------------------
  209. Section 2 -- The rest of AUTOEXEC.NOS - whether you use BOOTP or not
  210.  
  211. # configuring memory parameters
  212. watch on
  213. watchdog on
  214. memory thresh 7168
  215. memory efficient yes
  216. memory ibufsize 3072
  217. memory nibufs 10
  218. #
  219. # TCP/IP parameters
  220. ip rtimer 60
  221. ip ttl 255
  222. tcp window 2048
  223. tcp mss 1460
  224. tcp irtt 10000
  225. #
  226. # unattended operation
  227. attended off
  228. mbox maxmsg 100     # each user can store upto 100 messages
  229. mbox expert on
  230. mbox password "password"      # password for remote sysop operation
  231. #
  232. # let's maintain a log!
  233. log \nos\spool\net.log
  234. #
  235. # telnet client accept echo request from remote server
  236. echo accept
  237. #
  238. # SMTP parameters
  239. smtp batch no
  240. smtp gateway po.cwru.edu
  241. smtp maxclients 40
  242. smtp mode route
  243. smtp quiet yes
  244. smtp timer 60
  245. smtp t4 120
  246. smtp usemx yes
  247. smtp sendlzw off
  248. # smtp server checks to see if there is any mail to send every 60
  249. # seconds.  If a particular host/connection is down, then the
  250. # "smtp t4" command causes the mail to be sent via the defined smtp
  251. # gateway after a defined period of time in seconds (120 seconds)
  252. # "smtp usemx" causes MX records to be used while sending.
  253. # NOS can use lzw compression during sending/receiving mail.  To
  254. # ensure compatibility with all SMTP servers, you should probably
  255. # turn sendlzw off using the command "smtp sendlzw off"
  256. #
  257. # remote reset/exit/kick parameters
  258. start remote
  259. remote -s password
  260. # If the server appears to be stuck and you want to kick/restart it,
  261. # from a remote site using Ka9Q, the command would be
  262. # "remote -k password biochemistry.cwru.edu kick|reset|exit"
  263. #
  264. # FTP client/server - binary transfer mode
  265. ftype image
  266. #
  267. # start the servers
  268. start ftp
  269. start smtp
  270. start echo
  271. start discard
  272. start pop2
  273. start pop3
  274. start finger
  275. start telnet
  276. start gopher
  277. #
  278. # map the keyboard
  279. source c:\nos\config.kbd
  280. #
  281. # lock the console
  282. lock password "password"      # password to unlock console with
  283. lock      # console gets locked automatically
  284. -------------------------------------------------------------------------
  285. POPUSERS file - resides in \NOS directory
  286.  
  287. #POP passwords format
  288. #user:password:
  289. ashok:password1:
  290. jonathan:password2:
  291. -------------------------------------------------------------------------
  292. ALIAS file - resides in \NOS directory
  293.  
  294. #Mail aliases can be used to forward mail, or send the same message
  295. #to a group of users.  Three examples are shown below:
  296. #Example 1: Mail sent to this user gets forwarded to another address
  297. alias1         someone@po.cwru.edu
  298. #
  299. #Example 2: Mail sent to this "user" gets forwarded to several users
  300. alias2         ashok marty samantha david
  301. #
  302. #Example 3: Mail sent to this user gets forwarded to another group of users
  303. faculty        richard martin jonathan mulchand david karen vernon
  304.                pieter ganesh jerry bill joyce menachem
  305. #
  306.  
  307. -------------------------------------------------------------------------
  308. FTPUSERS file - resides in \NOS directory used
  309.  
  310. Okay, here's where the weird stuff begins.  For some reason, when I
  311. compile NOS with Jacob's modifications to SMTPSERV.C, this file must
  312. have the following format for all those users who use POPmail/PC or
  313. POPmail/Mac to be able to send mail to other users within the system.
  314.  
  315. user1 user1 / 128
  316. user2 user2 / 128
  317.  
  318. Finally, since Jacob's code causes the FTPUSERS file to be read for
  319. incoming mail, it is imperative that every alias that is uses in the
  320. ALIAS file also have an entry in FTPUSERS.
  321.  
  322. The format for all other users (eg. FTP etc.) is below
  323.  
  324. #FTP/TELNET access passwords format
  325. #user password /directory_access_to protection
  326. #some protection levels are
  327. #1 - read access only
  328. #3 - read/write but not delete
  329. #7 - read/write/delete
  330. #127 - remote sysop access
  331. #128 - this user is banned from Telnet access to mailbox
  332. #
  333. examples:
  334. ashok password1 /public 1
  335. # read-only access to files in public directory (and subdirectories)
  336. jonathan password2 / 7
  337. # read/write/delete access to files everywhere (root and below)
  338. anonymous * /bioc407 1
  339. # no password, allowed to read files in bioc407 directory
  340.  
  341. Since, I provide anonymous and other FTP access, here is what my
  342. file actually looks like (some portions have been excluded for
  343. brevity).  However note that there are three sections, usernames
  344. with FTP access, all the POP2/POP3 users, and all the aliases
  345. defined in the ALIAS file.
  346.  
  347. -- begin FTPUSERS --
  348. #
  349. # [ftp-accounts]
  350. anonymous * /public 1
  351. ftp * /public 1
  352. bioc password /bioc 3
  353. root password / 127      # remote sysop access
  354. # [mail-accounts]
  355. ashok ashok / 128
  356. marty marty / 128
  357. jonathan jonathan / 128
  358. # [aliases]
  359. alias1 alias1 / 128
  360. alias2 alias2 / 128
  361. faculty faculty / 128
  362. #
  363. -- end FTPUSERS --
  364. -------------------------------------------------------------------------
  365. CONFIG.KBD - resides in \NOS directory.  Is taken as a Source file
  366. in AUTOEXEC.NOS so that it can be altered as desired without messing
  367. with the rest of AUTOEXEC.NOS.  More details are in NOS_1229.MAN
  368.  
  369. # mapping F1 through F4
  370. fkey 59 "session 1\n"
  371. fkey 60 "session 2\n"
  372. fkey 61 "session 3\n"
  373. fkey 62 "session 4\n"
  374. # mapping F5 through F8; F10 is always escape to console
  375. fkey 63 "tcp status\n"
  376. fkey 64 "mem status\n"
  377. fkey 65 "status\n"
  378. fkey 66 "smtp list\n"
  379. #
  380. -------------------------------------------------------------------------
  381. Finger files - these are optional and go in the \NOS\FINGER
  382. directory.  There is one file for each user and the file has the
  383. same name as the USERS name - i.e if my machine has four users -
  384. ASHOK, JONATHAN, DAVID, and JEANNE, I have 4 finger files in the
  385. \NOS\FINGER directory.  These files would be:
  386. ASHOK
  387. JONATHAN
  388. DAVID
  389. JEANNE
  390. Since I start the finger server when I load NOS, if someone was to
  391. finger the user ashok@biochemistry.cwru.edu, this is information that
  392. they would see
  393.  
  394. Username: ashok                            In Real Life: Ashok Aiyar
  395. Telephone: x3300                           Room: West 409/410
  396.  
  397. The finger file ASHOK is a plain text file that can contain any
  398. information.  On my NOS site, the file for each user contains their
  399. username, their "real-life" name, their office room number and their
  400. telephone number.
  401. -------------------------------------------------------------------------
  402. The \nos\spool\rewrite file is an important file.  This file rewrites
  403. outgoing mail addresses as desired.  This is particularly useful, if
  404. you want to route mail through a particular SMTP gateway.  When is
  405. this useful.  For example, a couple weeks ago, my campus SMTP gateway
  406. was not sending mail to BITNET sites, at which point it was useful for
  407. me to add the following two lines to the REWRITE file.
  408.  
  409. *@*.bitnet $1%$2.BITNET@cunyvm.cuny.edu
  410. *@*.BITNET $1%$2.BITNET@cunyvm.cuny.edu
  411.  
  412. This is what my rewrite file currently looks like
  413.  
  414. *@*.bitnet $1%$2.BITNET@cunyvm.cuny.edu
  415. *@*.BITNET $1%$2.BITNET@cunyvm.cuny.edu
  416. *@biochemistry $1@biochemistry.cwru.edu
  417. *@meds38956 $1@biochemistry.cwru.edu
  418. *@meds38956.cwru.edu $1@biochemistry.cwru.edu
  419. -------------------------------------------------------------------------
  420. Configuring the GOPHER server:
  421.  
  422. Create a directory at the root level of your PC hard drive called
  423. exactly "GOPHER".  This must be the same hard drive that contains the
  424. server program: nos192.exe. The rest of these instructions assume that
  425. the hard drive is called C:  (if not, make the necesssary substitutions
  426. when reading this document).  The contents of the directory C:\gopher
  427. (and any subdirectories therein) will be available to gopher clients.
  428.  
  429. Create a file in the gopher directory called "ginfo".  This file
  430. contains a description of the items in the gopher directory.  Every
  431. subdirectory under GOPHER that you wish to display on the Gopher
  432. server menu must have it's own "ginfo" file.
  433.  
  434. Each line in the GINFO file describes an item.  The format of each
  435. line is as follows:
  436.  
  437. <type><display string>TAB<type><file ident>TAB<host name>TAB<port>
  438.  
  439. Types of items:
  440. 0=text file
  441. 1=directory
  442. 2=CSO PhoneBook
  443. 3=Error
  444. 4=Macintosh Binhexed file
  445. 5=PC Binary
  446. etc.
  447. <type> is the gopher item type character.  Character 0 means a file,
  448. 1 indicates a directory, etc.  The <display string> is the string
  449. that will be visible to the gopher client user.  The <file ident>
  450. is a curious beast:  it starts with the drive name, say c:,
  451. followed by the full path of the file starting INSIDE the gopher
  452. directory.  The directory separators are slashes (as in UNIX)
  453. rather than backslashes (as in messDOS).  The TAB denotes an actual
  454. ASCII TAB character.  Many common DOS word processors strip out the
  455. tabs and replace them with spaces; you need to leave the tabs inside.
  456.  
  457. An example ginfo file with three items (the # denotes an ASCII TAB
  458. here and in all the other examples below):
  459.  
  460. 0About this Gopher#0c:/help.txt#foo.moo.umn.edu#70
  461. 1An example directory#1c:/stuff#foo.moo.umn.edu#70
  462. 1An example link##gopher.tc.umn.edu#70
  463.  
  464. Also THE LAST LINE IN THE GINFO FILE MUST JUST CONTAIN A PERIOD
  465. FOLLOWED by a CR OR LF.  (not shown above... but it must be there
  466. to terminate the file).
  467.  
  468. The first item is a file (type character 0) that the user
  469. will see as "About this Gopher".  The actual DOS full
  470. pathname of this file is C:\gopher\help.txt.  The file
  471. ident here is "c:/help.txt" (look at that carefully one
  472. more time). Note that a type character precedes the file
  473. ident, and no tab is between them.  The file lives on THIS
  474. server, since this server's name (foo.moo.umn.edu) and port
  475. (70 is the default gopher port) follow.
  476.  
  477. The second item is a directory (type 1) that the user will
  478. see as "An example directory".  The actual DOS full
  479. pathname of this directory is C:\gopher\stuff.  The file
  480. ident here is "c:/stuff".  Again, note the type char right
  481. before it.  This directory too, lives on THIS server as
  482. evidenced by the local name and port.
  483.  
  484. The third item is also a directory.  The user will see
  485. this as "An example link".  The directory is not on this
  486. server at all; that is to say, it is a link to a directory
  487. on another server.  In this instance, it  points to the
  488. gopher server running on a machine called gopher.micro.umn.edu
  489. at port 70.  Note the null selector string.
  490.  
  491. If you wish users to be able to see items inside the subdirectory
  492. (the second item), you will also have to create a ginfo file
  493. in the C:\gopher\stuff subdirectory.  In other words, a ginfo
  494. file is a "gopher's view" of the contents of any directory.
  495.  
  496. For more information on gopher item type characters, links,
  497. etc., you SHOULD browse through the short document
  498. on the internet Gopher protocol.  This is available via
  499. gopher or by anonymous ftp from boombox.micro.umn.edu
  500. (look in the /pub/gopher directory tree).
  501.  
  502. I have included some the GINFO files from my Gopher server as
  503. examples of GINFO files (some items from each GINFO file are
  504. deleted for brevity)
  505.  
  506. ---------------
  507. C:\GOPHER\GINFO
  508. (root directory for GOPHER)
  509.  
  510. 0About this Gopher#0c:/gopher.txt#biochemistry.cwru.edu#70
  511. 1POPmail, Gopher and other TCP/IP programs#1c:/pop#biochemistry.cwru.edu#70
  512. 1Other Gophers and Information Services#1c:/gopher#biochemistry.cwru.edu#70
  513. 1Search for E-mail Addresses#1c:/whois#biochemistry.cwru.edu#70
  514. .
  515. ---------------
  516. C:\GOPHER\POP\GINFO
  517. (example configuration for downloading binhexed, and binary files)
  518.  
  519. 0Read Me First    0c:/pop/readme.txt#biochemistry.cwru.edu#70
  520. 4Macintosh TurboGopher 1.05 (binhex)#0c:/pop/tgoph105.hqx#biochemistry.cwru.edu#70
  521. 5PC Gopher III (pkzip)#9c:/pop/pcg3.zip#biochemistry.cwru.edu#70
  522. 5Latest POPmail/PC executable#9c:/pop/popmail.exe#biochemistry.cwru.edu#70
  523. 1Connect to BoomBox - Home of POPmail and Gopher##boombox.micro.umn.edu#70
  524. .
  525.  
  526. Note that for download PC Binaries, to maintain open TCP connection,
  527. a combination of item-type 5 & 9 is used.  In contrast, since Mac
  528. Binhexed files are ASCII, a combination of 4 & 0 is used.
  529. ---------------
  530. C:\GOPHER\GOPHER\GINFO
  531. (examples of links to other Gophers and Telnet links)
  532.  
  533. 0Read Me First#0c:/gopher/readme.txt#biochemistry.cwru.edu#70
  534. 1Mother of All Gophers @ U. of Minnesota##gopher.tc.umn.edu#70
  535. 1Other Gophers through U of M.#1/Other Gopher and Information Servers#gopher.tc.umn.edu#70
  536. 8World Wide Web##info.cern.ch#23
  537. 8University of Saskatchewan HYTELNET#hytelnet#access.usask.ca#23
  538. .
  539.  
  540. Note that you can directly connect to a sub-menu at another Gopher
  541. site.  For Telnet connections, the TCP port is defined.  In one case
  542. (World Wide Web) no username is required, and in the other
  543. (Hytelnet), the user will be prompted to use the login "hytelnet"
  544. when the item is selected.
  545. ---------------
  546. C:\GOPHER\WHOIS\GINFO
  547. (example of setting up a type 7 - search item, and other links)
  548.  
  549. 0Finding E-mail Addresses#0c:/whois/whois.txt#biochemistry.cwru.edu#70
  550. 7WHOIS Searches at CWRU (experimental)#whois whois.cwru.edu#gopher.nd.edu#8001
  551. 1WHOIS Searches at other institutions#1/Phone Books/WHOIS Searches#gopher.tc.umn.edu#70
  552. 8NetFind Searches (server at Univ. of Colorado, Boulder)#netfind#bruno.cs.colorado.edu#0
  553. .
  554.  
  555. Since CWRU's WHOIS database is not directly available via Gopher but
  556. is available on a standard whois server (port 43), I am using the
  557. service at Univ. of Notre Dame to contact the whois server at CWRU,
  558. and present it as a text file on a new menu.  Upon clicking on that
  559. file, the search text is presented, and a direct connection with
  560. CWRU's WHOIS server retrieves the appropriate information.  Yeah, I
  561. know it's convoluted, but when I did it I thought it was kind of
  562. neat :-)
  563. ---------------
  564. -------------------------------------------------------------------------
  565. Using TED3.COM:
  566.  
  567. I have found TED3 to be an excellent, small ASCII editor that saves
  568. ASCII <tabs> as <tabs> and not as spaces.  This is crucial during
  569. the creation of a GINFO file.  WARNING: DOS EDIT will convert <tabs>
  570. to spaces (DOS 5.0 edit and DOS 6.0 edit)
  571.  
  572. To insert an ASCII tab with TED3, just hit the <tab> key.  This is
  573. simpler than the previously recommended EasyEdit, although the
  574. latter is also an excellent small text editor.  One other feature of
  575. TED3.  It doesn't impose limitations on the length of any line.  In
  576. contrast EasyEdit appears to have a line length limitation.
  577.  
  578. NOTE:  The last line in your GINFO file must contain a period
  579. all by itself, immediately followed by a CR or LF.
  580.  
  581. The accompanying TED3 documentation has more on TED3.  Remember
  582. to use Binary transfer mode while getting the file TED3.ZIP
  583. -------------------------------------------------------------------------
  584. Caveats:
  585.  
  586. The GINFO file specifies the type and selector string that
  587. gopher clients use to retrieve files and directories located
  588. inside the PC's gopher directory.  Naughty clients can NOT
  589. manufacture a bogus selector string and attempt to climb outside
  590. of the gopher directory tree, ie. the server will not let them.
  591. In this respect, the server is secure.  However, if a file or
  592. directory exists inside the gopher directory tree, then even
  593. though the ginfo file does not explicitly advertise it, if a
  594. client knows of its existence, it can manufacture a selector
  595. string and successfully retrieve the file or directory.
  596.  
  597. We're calling it a "feature".    :-)
  598. SO NOTE:  ANY item inside the gopher directory subtree is
  599.           potentially available to gopher clients.  Just
  600.           because the ginfo file does not contain it does
  601.           not mean it is secure or inaccessible.
  602. -------------------------------------------------------------------------
  603. Acknowledgements and whom to contact:
  604.  
  605. This help file and CWRU/BIOC NOS was put together by Ashok Aiyar.
  606. I am currently at the Department of Biochemistry, CWRU Medical
  607. School.
  608.  
  609. The Gopher server code was generously provided by Chris McNeil
  610. (cmcneil@mta.ca).  Chris was also very helpful in making sure that
  611. everything compiled okay, and worked well.  His advice in getting
  612. the POP2 server to work okay is also gratefully acknowledged.
  613.  
  614. Farhad Anklesaria (fxa@boombox.micro.umn.edu) has also been
  615. extremely helpful at every step along the way, and his help and
  616. advice is also mcuh appreciated.  Thanks Farhad.
  617.  
  618. Much of the Gopher documentation was culled from a document put
  619. together by the Gopher team and Chris McNeil.
  620.  
  621. I can be reached at: <ashok@biochemistry.cwru.edu>
  622.  
  623. From the previous Gopher Documentation:
  624.  
  625. Bugs and/or questions may be directed to the Gopher team at:
  626.   <gopher@boombox.micro.umn.edu>
  627.  
  628. We will forward any hard questions to Chris McNeil :-)
  629. -------------------------------------------------------------------------
  630.  
  631.